package com.luguangtao.api;

import com.github.pagehelper.PageInfo;
import com.luguangtao.entity.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "CLIENT1")
public interface StuApiTest {

    @RequestMapping("list1")
    public PageInfo<Student> lists();
}
